package org.nepu.sc.unit.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.sc.domain.DataVO;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;


@Data
@ApiModel(value = "新建/更新参数")
public class SafeUnitParams {
    @NotBlank(message = "任务ID不可为空")
    String taskId;

    @NotBlank(message = "评价ID不可为空")
    @ApiModelProperty(value = "评价ID")
    String rateId;

    @ApiModelProperty(value = "评价参数")
    DataVO rateParams;
}
